package at.ac.univie.zsu.aguataplan.service;

import java.util.List;

import at.ac.univie.zsu.aguataplan.domain.Club;
import at.ac.univie.zsu.aguataplan.domain.Team;
import at.ac.univie.zsu.aguataplan.exception.DatabaseException;

/**
 * @author gerry
 * 
 */
public interface TeamManager {

	public void cleanTeam() throws DatabaseException;

	// --------------

	public Team addTeam(String name, Club club) throws DatabaseException;

	public Team getTeamById(long id) throws DatabaseException;

	public void deleteTeam(long id) throws DatabaseException;

	public List<Team> getTeamList() throws DatabaseException;

	public Team mergeTeam(Team team) throws DatabaseException;

	public Integer getTeamListPosition(long id) throws DatabaseException;
}
